package com.dongyoufa.senior1.week1.entity;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.dongyoufa.senior1.week1.enums.Gender;

public class Reimburse {
	private String reimburseId;
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date reimburseDate;
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date endreimburseDate;
	private Integer empId;
	private String empName;
	private Gender sex;
	private Integer deptId;
	private Double totalFee;
	private Double endtotalFee;
	private String attachment;
	private String dname;
	
	public Date getEndreimburseDate() {
		return endreimburseDate;
	}
	public void setEndreimburseDate(Date endreimburseDate) {
		this.endreimburseDate = endreimburseDate;
	}
	public Double getEndtotalFee() {
		return endtotalFee;
	}
	public void setEndtotalFee(Double endtotalFee) {
		this.endtotalFee = endtotalFee;
	}
	public String getReimburseId() {
		return reimburseId;
	}
	public void setReimburseId(String reimburseId) {
		this.reimburseId = reimburseId;
	}
	public Date getReimburseDate() {
		return reimburseDate;
	}
	public void setReimburseDate(Date reimburseDate) {
		this.reimburseDate = reimburseDate;
	}
	public Integer getEmpId() {
		return empId;
	}
	public void setEmpId(Integer empId) {
		this.empId = empId;
	}
	public String getEmpName() {
		return empName;
	}
	public void setEmpName(String empName) {
		this.empName = empName;
	}
	public Gender getSex() {
		return sex;
	}
	public void setSex(Gender sex) {
		this.sex = sex;
	}
	public Integer getDeptId() {
		return deptId;
	}
	public void setDeptId(Integer deptId) {
		this.deptId = deptId;
	}
	public Double getTotalFee() {
		return totalFee;
	}
	public void setTotalFee(Double totalFee) {
		this.totalFee = totalFee;
	}
	public String getAttachment() {
		return attachment;
	}
	public void setAttachment(String attachment) {
		this.attachment = attachment;
	}
	public String getDname() {
		return dname;
	}
	public void setDname(String dname) {
		this.dname = dname;
	}
	public Reimburse(String reimburseId, Date reimburseDate, Integer empId, String empName, Gender sex, Integer deptId,
			Double totalFee, String attachment, String dname) {
		super();
		this.reimburseId = reimburseId;
		this.reimburseDate = reimburseDate;
		this.empId = empId;
		this.empName = empName;
		this.sex = sex;
		this.deptId = deptId;
		this.totalFee = totalFee;
		this.attachment = attachment;
		this.dname = dname;
	}
	public Reimburse() {
		super();
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString() {
		return "Reimburse [reimburseId=" + reimburseId + ", reimburseDate=" + reimburseDate + ", empId=" + empId
				+ ", empName=" + empName + ", sex=" + sex + ", deptId=" + deptId + ", totalFee=" + totalFee
				+ ", attachment=" + attachment + ", dname=" + dname + "]";
	}
	
}
